package sz.szsmk.citizencard.ui.dialogs;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.StyleRes;

import sz.szsmk.citizencard.R;

/**
 * author : hyt
 * date : 2020/6/4
 * description :
 */
public class CakeOpenTipDialog extends Dialog {


    protected CakeOpenTipDialog(@NonNull Context context, @StyleRes int themeResId) {
        super(context, R.style.alertdialog);
    }

    protected CakeOpenTipDialog(@NonNull Context context) {
        super(context, R.style.alertdialog);

        int divierId = context.getResources().getIdentifier("android:id/titleDivider", null, null);

        View divider = findViewById(divierId);
        divider.setVisibility(View.GONE);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(LayoutInflater.from(getContext()).inflate(R.layout.dialog_checkopentip, null));

        initView();
    }

    private void initView() {

    }

}

